body{
    max-width: 640px;
    margin: 0px auto;
    background-color: white;
}
#wrapper 
{
   width:100%;    
}
#wrapper #header
{ 
   min-height:40px;
    border-bottom:2px solid #d8d8d8;
    background-color:#fafafa;
}
#wrapper #header img#logo 
{
    margin:5px 10px 0px 5px;
    float: left;
    padding-bottom: 5px;
}
#wrapper #header ul 
{
    float:left;
    padding:5px 0px;    
}
#wrapper #header ul li
{
    line-height: 40px;
    display: inline-block;
    padding:0px 3px;
}
#wrapper #header ul li a
{
    display:block;
    height:30px;
    width:30px;    
    text-indent: -99999px;
    background: transparent url(../images/mobie-game-store.png) top left no-repeat scroll;
}
#wrapper #header ul li a#home
{background-position:-2px -5px;}
#wrapper #header ul li a#home:hover,
#wrapper #header ul li a#home-active
{background-position:-43px -5px;}

#wrapper #header ul li a#game
{background-position:-3px -44px;}
#wrapper #header ul li a#game:hover,
#wrapper #header ul li a#game-active
{background-position:-44px -44px;}

#wrapper #header ul li a#friend
{background-position:-3px -83px;}
#wrapper #header ul li a#friend:hover,
#wrapper #header ul li a#friend-active
{background-position:-44px -83px;}

#wrapper #header ul li a#wallet
{background-position:-3px -122px;}
#wrapper #header ul li a#wallet:hover,
#wrapper #header ul li a#wallet-active
{background-position:-44px -122px;}

/*content*/
#wrapper #content
{
    min-height: 320px;
    padding:5px;
    background-color: white;
    margin-top:10px ;
}
#wrapper #content fieldset
{
    border:1px dotted #d8d8d8;
    padding:10px 0px;  
    font: normal 1.2em tahoma;
}
#wrapper #content fieldset legend
{
    margin-left:5px ;
}
#wrapper #footer
{
    height:20px;
    padding:5px;
    border-top:1px dotted #d8d8d8;
    background-color:white;
}